[C#] How to show progress status for a long-time-consuming function?

Posted by Nam Gi VU on Stack Overflow See other posts from Stack Overflow or by Nam Gi VU
Published on 2010-03-28T13:57:57Z Indexed on 2010/03/28 14:03 UTC
Read the original article Hit count: 123

Filed under:
|
|

I have a windows form simply like this: 1) a button when clicked will perform an operation taking a long time to complete, 2) a label showing how much percentage of the progress is going on.

In the long operation I mentioned, I write the code to update the Text property of the label but it doesn't work!

Please help me to show the progress status correctly.

© Stack Overflow or respective owner

Related posts about c#

Related posts about Windows